package com.springcloudemo.ms.wrapper;

import com.springcloudemo.ms.dubbo.Log4jSPI;
import org.apache.dubbo.common.bytecode.Wrapper;

import java.lang.reflect.InvocationTargetException;

public class Demo {

    public static void main(String[] args) throws InvocationTargetException {
        Wrapper wrapper = Wrapper.getWrapper(Log4jSPI.class);
        wrapper.invokeMethod(new Log4jSPI(),"spi",new Class[]{},new Object[]{});
    }
}
